# -*- mode: python ; coding: utf-8 -*-

a = Analysis(
    ['main.py'],
    pathex=[ ],
    binaries=[],
    datas=[
     (r"views\style", r"views\style"),
     (r"views\fonts\Alibaba-PuHuiTi-Regular.ttf", r"views\fonts"),
     (r"views\rcc\icon.ico", r"views\rcc"),
     (r"views\rcc\icon.png", r"views\rcc"),
     ],
    hiddenimports=[],
    hookspath=[],
    hooksconfig={},
    runtime_hooks=[],
    excludes=[],
    noarchive=False,
    optimize=0,
)
pyz = PYZ(a.pure)

exe = EXE(
    pyz,
    a.scripts,
    [],
    exclude_binaries=True,
    name='图书管理系统',
    debug=False,
    bootloader_ignore_signals=False,
    strip=False,
    upx=True,
    console=False,
    disable_windowed_traceback=False,
    argv_emulation=False,
    target_arch=None,
    codesign_identity=None,
    entitlements_file=None,
    icon=[r'views\rcc\icon.ico'],
    onefile=True
)

coll = COLLECT(
    exe,
    a.binaries,
    a.datas,
    strip=False,
    upx=True,
    upx_exclude=["python3.dll"],
    name='main',
)
